<?php
/**
 * Created by PhpStorm.
 * User: Shen
 * Date: 2016/6/18
 * Time: 22:49
 */
include_once 'upload.class.php';

$flieInfo = $_FILES['myFile'];

$newName = uploadFile($flieInfo);

echo '<pre>';
var_dump($newName);
echo '</pre>';